@bor-color: #e2e2e2;
@red-color: #c80904;
@base-radius: 5px;
.icon-list {
  border-left: 1px solid @bor-color;
  width: 45px;
  text-align: center;
  i {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-image: url(../images/icon_list1.png);
  }
}

.icon-list2 {
  i {
    background-image: url(../images/icon_list2.png);
  }
}

.filt-bar ~ .page-bd {
  top: 85px;
}

.filt-bar {
  background-color: #fff;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px solid #eaeaea;
  border-top: 1px solid #eaeaea;
}

.filt-nav {
  display: flex;
  list-style: none;
}

.filt-nav > li {
  font-size: 12px;
  flex: 1;
  text-align: center;
  i {
    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    background-color: #c3c3c3;
    background-image: url(../images/arrowd.png);
    background-size: contain;
  }
  i.up {
    transform: rotate(180deg);
  }
  &.active {
    color: @red-color;
    i {
      background-color: @red-color;
    }
  }
}

ul {
  list-style: none;
}

.goods-list {
  padding: 3px;
  .goods-link {
    float: left;
    width: 100%;
    position: relative;
    display: block;
    background-color: #fff;
    color: #a6a6a6;
    font-size: 12px;
    .sale {
      position: absolute;
      width: 26px;
      left: 0;
      top: 0;
      height: 26px;
      background-size: contain;
      background-repeat: no-repeat;
      background-image: url(../images/sale.png);
    }
    .goods-info {
      margin-left: 8px;
      margin-right: 8px;
    }
    .goods-price{
      color: @red-color;
      font-size: 15px;
      span{
        font-size: 10px;
      }
    }
    .goods-sales{
      font-size: 10px;
    }
    .goods-img {
      width: 80%;
      padding-bottom: 80%;
      height: 0;
      overflow: hidden;
      margin: 8px auto;
      img {
        width: 100%
      }
    }
    .goods-title {
      font-size: 12px;
      font-weight: 400;
      color: #494949;
    }
    .goods-stitle {
      font-size: 10px;
      font-weight: 400;
    }
    .goods-num{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 8px;
    }
  }
}

.goods-list .list1 {
  display: flex;
  flex-wrap: wrap;
  .goods-info {
    border-top: 1px dotted @bor-color;
    padding-top: 8px;
  }
  .goods-title,.goods-stitle{
    height:20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  li {
    box-sizing: border-box;
    padding: 3px;
    width: 50%;
  }
}

.goods-list .list2 {
  display: flex;
  flex-direction: column;
  .goods-info {
    border-top: 1px dotted @bor-color;
    padding-top: 8px;
  }
  .goods-link{
    display: flex;
    .goods-img{
      width: 100px;
      height: 100px;
      padding-bottom: 0;
      padding-left: 10px;
      padding-right: 10px;
    }
    .goods-info{
      position: relative;
      border-top: none;
      flex: 1;
      margin-left: 0;
      padding-left: 10px;
    }
    .goods-info:after{
      content: '';
      position: absolute;
      left: 0;
      top: 10px;
      bottom: 10px;
      border-left: 1px dotted @bor-color;
      width: 2px;
    }
    .goods-num{
      position: absolute;
      bottom:0;
    }
    .goods-title{
      padding-top:3px;
    }
    .goods-price{
      margin-right: 10px;
    }
  }
  li {
    box-sizing: border-box;
    padding: 3px;
  }
}